<script type="text/javascript">
function out(type) {
    var fields=$('#fields').val();
    if(fields ==""){
        art.dialog.alert('\u5B57\u6BB5\u540D\u4E0D\u80FD\u4E3A\u7A7A\uFF01');
        return;
    }
    var fields='ext_'+fields;
    switch(type){
      case 1:
        var outhtml="ui-editor";
        $('#inputcss').attr("value",outhtml);
        break;
      case 2:
        var outhtml="ui-editor-simple";
        $('#inputcss').attr("value",outhtml);
        break;
      case 3:
        var outhtml="<input type=\"button\" class=\"button ui-upload\" uid=\""+fields+"\" value=\"选择文件\" />";
        $('#inputhold').attr("value",outhtml);
        break;
      case 4:
        var outhtml="ui-date";
        $('#inputcss').attr("value",outhtml);
        break;
      case 5:
        var outhtml="w200";
        $('#inputcss').attr("value",outhtml);
        break;
      case 6:
        var outhtml="h30";
        $('#inputcss').attr("value",outhtml);
        break;
      case 7:
        $('#inputcss').attr("value",'');
        break; 
    }
}
</script>